import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 移动端适配
import 'amfe-flexible'
// vant 样式
import 'vant/es/toast/style';
import 'vant/es/dialog/style';
import 'vant/es/notify/style';
import 'vant/es/image-preview/style';
// 自己写的css
import './assets/css/index.css'

import navBar from '@/components/navBar.vue';
const app = createApp(App);
// 全局注册导航栏
app.component('nav-bar', navBar);


createApp(App).use(store).use(router).mount('#app')
